// MegaBitmap.h: interface for the CMegaBitmap class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_MEGABITMAP_H__9E008487_E531_41B1_894B_07A9708F9E7F__INCLUDED_)
#define AFX_MEGABITMAP_H__9E008487_E531_41B1_894B_07A9708F9E7F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMegaBitmap : public CBitmap  
{
public:
	CMegaBitmap();
	virtual ~CMegaBitmap();

	bool LoadBitmap(LPCTSTR lpszResourceName);
	bool LoadBitmap(UINT nIDResource);
	HRGN CreateRegion(COLORREF crTransparent);

	void Draw(CDC * pDC, int x, int y);
	void DrawTransparent(CDC * pDC, int x, int y, COLORREF crTransparent, int xStart = 0, int yStart = 0);
  #ifdef _PACKET_LOSS_
	void DrawBlink(CDC * pDC, int x, int y);
  #endif
protected:
	DWORD m_dwWidth, m_dwHeight;
};

#endif // !defined(AFX_MEGABITMAP_H__9E008487_E531_41B1_894B_07A9708F9E7F__INCLUDED_)
